package cloud.ben.smallscalepigfarmmanagementsystem.service.sow;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.pig.PigTransferNurseryRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.entity.sow.SowBirthingRecords;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/6 11:48
 */
public interface ISowBirthingRecordsService {

    /**
     * 增加母猪分娩记录信息
     * @param sowBirthingRecords
     * @return RespBean
     */
    RespBean insertSowBirthingRecords(SowBirthingRecords sowBirthingRecords);

    /**
     *根据id删除母猪分娩记录信息
     * @param id
     * @return RespBean
     */
    RespBean deleteSowBirthingRecords(Integer id);

    /**
     * 修改母猪分娩记录信息
     * @param sowBirthingRecords
     * @return RespBean
     */
    RespBean updateSowBirthingRecords(SowBirthingRecords sowBirthingRecords);


    /**
     * 分页查询母猪分娩记录信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectSowBirthingRecordsByPage(Integer pageNumber,Integer pageSize);


    /**
     *查询母猪分娩记录数量（方便分页）
     * @return RespBean
     */
    RespBean selectSowBirthingRecordsNum();
}
